package com.henu.swface.activity;

import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.KeyEvent;
import android.view.View;
import android.widget.Button;

import com.henu.swface.R;

public class FaceActivity extends AppCompatActivity {
private Button next_step,skip;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_face);
        next_step = (Button) findViewById(R.id.next_step);
        skip = (Button) findViewById(R.id.skip);
        next_step.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent = new Intent(FaceActivity.this,RegisterFaceActivity.class);
                startActivity(intent);
                finish();
            }
        });
        skip.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent = new Intent(FaceActivity.this,MainActivity.class);
                startActivity(intent);
                finish();
            }
        });
    }



}
